#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<string.h>


int main()
{
	pid_t id = fork();
	if(id == 0)
	{
		while(1)
		{
			printf("i'm child, %d, %p\n", id, &id);
			sleep(1);
		}
	}
	else if(id > 0)
	{
		while(1)
		{
			printf("i'm father, %d, %p\n", id, &id);
			sleep(1);
		}
	}
	return 0;
}
